﻿<Window x:Class="WPF_Example02.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Hóa Đơn" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Số hóa đơn:" Grid.Row="0" Grid.Column="0"/>
        <Label Content="Hàng hóa:" Grid.Row="1" Grid.Column="0"/>
        <Label Content="Số lượng:" Grid.Row="2" Grid.Column="0"/>
        <Label Content="Đơn giá:" Grid.Row="3" Grid.Column="0"/>
        <Label Content="Diễn giải:" Grid.Row="4" Grid.Column="0"/>
        <TextBox Grid.Row="0" Grid.Column="1"/>
        <ComboBox Grid.Row="1" Grid.Column="1"/>
        <TextBox Grid.Row="2" Grid.Column="1"/>
        <TextBox Grid.Row="3" Grid.Column="1"/>
        <TextBox Grid.Row="4" Grid.Column="1"/>
        <Button Content="Lưu" HorizontalAlignment="Right" Margin="0,10,145,0" Grid.Row="5" Grid.Column="1" Width="86" Height="30" VerticalAlignment="Top"/>
        <Button Content="Thoát" HorizontalAlignment="Right" Margin="0,10,37,0" Grid.Row="5" Grid.Column="1" Width="86" Height="30" VerticalAlignment="Top"/>
    </Grid>
</Window>
